package cn.com.qtgl.apis.builtin.model.vo.post;

import cn.com.qtgl.apis.builtin.model.vo.ConnectionPageInfo;
import cn.melonlib.cores.commons.model.entity.ApiEntity;
import cn.melonlib.cores.model.anno.ModelComment;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.List;

@ModelComment("数据连接器")
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class PostConnection implements ApiEntity {
    @ModelComment("总数据量")
    private Integer totalCount;

    @ModelComment("分页器")
    private ConnectionPageInfo pageInfo;

    @ModelComment("数据节点")
    private List<PostEdges> edges;
}
